package cn.school.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.school.common.annotation.Excel;
import cn.school.common.core.domain.BaseEntity;

/**
 * H5微信用户对象 bi_wx_user
 *
 * @author asheng
 * @date 2023-12-29
 */
public class BiWxUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 微信openid */
    @Excel(name = "微信openid")
    private String openid;

    /** 推荐店铺id */
    @Excel(name = "推荐店铺id")
    private Long parentShopId;

    /** 推荐店铺号码 */
    @Excel(name = "推荐店铺号码")
    private String parentShopPhone;

    /** 推荐店铺名称 */
    @Excel(name = "推荐店铺名称")
    private String parentShopName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOpenid(String openid)
    {
        this.openid = openid;
    }

    public String getOpenid()
    {
        return openid;
    }
    public void setParentShopId(Long parentShopId)
    {
        this.parentShopId = parentShopId;
    }

    public Long getParentShopId()
    {
        return parentShopId;
    }
    public void setParentShopPhone(String parentShopPhone)
    {
        this.parentShopPhone = parentShopPhone;
    }

    public String getParentShopPhone()
    {
        return parentShopPhone;
    }
    public void setParentShopName(String parentShopName)
    {
        this.parentShopName = parentShopName;
    }

    public String getParentShopName()
    {
        return parentShopName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("parentShopId", getParentShopId())
            .append("parentShopPhone", getParentShopPhone())
            .append("parentShopName", getParentShopName())
            .toString();
    }
}
